<h1>Listing po_payments</h1>

<table>
  <thead>
    <tr>
      <th>Amount</th>
      <th>Date</th>
      <th>Purchase order</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @po_payments.each do |po_payment| %>
      <tr>
        <td><%= po_payment.amount %></td>
        <td><%= po_payment.date %></td>
        <td><%= po_payment.purchase_order_id %></td>
        <td><%= link_to 'Show', purchase_order_po_payment_path(po_payment) %></td>
        <td><%= link_to 'Edit', edit_purchase_order_po_payment_path(po_payment) %></td>
        <td><%= link_to 'Destroy', po_payment, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

